<?php

namespace App\Library\Logic;

use App\Models\ShopUserPriceModel;

class ShopUserPriceLogic extends ShopUserPriceModel
{
    public static function add(int $userId): void
    {
        if (!self::existsByWhere('userId', $userId)) self::insertForModel('userId', $userId);
    }
}
